package com.xuecheng.content.mapper;

import com.xuecheng.commons.model.vo.TeachplanVo;
import com.xuecheng.content.domain.Teachplan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 课程计划 Mapper 接口
 * </p>
 *
 * @author itheima
 * @since 2022-07-30
 */
public interface TeachplanMapper extends BaseMapper<Teachplan> {


    // 根据课程id查询课程计划
    List<TeachplanVo> treeNodes(Long courseId);
}
